
import time
import tm1637


disp = tm1637.TM1637(12, 13)

for i in range(6):
    disp.set_values(range(i, i+4))
    time.sleep(1)


x = True
for i in range(8):
    disp.set_doublepoint(x)
    disp.set_brightness(i)
    time.sleep(1)
    x = not x

disp.clear()

disp.cleanup()
